Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to eslint #583

Merged
merged 4 commits into from
Mar 28, 2018
Merged

Update to eslint #583

merged 4 commits into from
Mar 28, 2018

Conversation

mixonic
Copy link
Member

@mixonic mixonic commented Mar 26, 2018

I'm taking a few iterative steps at upgrading the build here, hopefully I can smooth the path for 3.0 support and general contribution.

This PR:

  • Pin a bower dependency that does not have the correct assets unless it is pinned
  • Updates the project to use eslint
  • Updates several files to match best practices
  • Drops PhantomJS from testing
  • Tweaks the .travis.yml to be closed to Ember CLI master
  • Bump uglify, ember-load-initializers, loader.js

@mixonic mixonic force-pushed the update-to-eslint branch 7 times, most recently from 3b0a0b8 to 50d1672 Compare March 27, 2018 00:34
@Gaurav0
Copy link
Contributor

Gaurav0 commented Mar 27, 2018

Thanks for working on this!

@mixonic
Copy link
Member Author

mixonic commented Mar 28, 2018

Finally. I could not figure out why the CI suite was crashing Chrome on Travis. It turns out the testem.js config I took from Ember CLI's latest blueprint is incompatible with the version of Testem currently locked as a dependency, and as a result Chrome was not running in a headless mode. I've written a slightly bespoke Testem config that is headless on Travis, which seems sufficient.

Onward!

@mixonic mixonic merged commit df9d48d into ember-cli:master Mar 28, 2018
@mixonic mixonic deleted the update-to-eslint branch March 28, 2018 17:46
Copy link
Contributor

@Gaurav0 Gaurav0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for working on this. I really appreciate that we are moving this forward.

@@ -74,11 +72,15 @@
"ember-route-action-helper": "^1.0.0",
"ember-source": "~2.11.0",
"ember-test-helpers": "~0.6.3",
"eslint-plugin-ember": "^5.0.0",
Copy link
Contributor

@Gaurav0 Gaurav0 Mar 28, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use a ~ with the installed version here. New minor versions of eslint-plugin-ember tend to introduce new rules which cause builds to fail.

@Gaurav0
Copy link
Contributor

Gaurav0 commented Mar 28, 2018

Canary is broken.

image

@Gaurav0
Copy link
Contributor

Gaurav0 commented Mar 28, 2018

The PR appears to work locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants